<?php get_header(); ?>
			<div class="breadcrumb_box clearfix">
					<div class="content-title">            
					   <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
								<?php /* If this is a category archive */ if (is_category()) { ?>
								<?php printf(__('%s','templatic'), single_cat_title('', false)); ?>
								<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
								<?php printf(__('Posts tagged &quot;%s&quot;','templatic'), single_tag_title('', false) ); ?>
								<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
								<?php printf(__('Daily archive %s','templatic'), get_the_time(templ_get_date_format())); ?>
								<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
								<?php printf(__('Monthly archive %s','templatic'), get_the_time('F, Y')); ?>
								<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
								<?php printf(__('Yearly archive %s','templatic'), get_the_time('Y')); ?>
								<?php /* If this is an author archive */ } elseif (is_author()) { ?>
								<?php _e('Author Archive','templatic'); ?>
								<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
								<?php _e('Archives','templatic'); ?>
								<?php } ?> 
                                
                                <a href="javascript: void(0);" id="mode"<?php if ($_COOKIE['mode'] == 'grid') echo ' class="flip"'; ?>></a>
                                                   							
					</div>
					<?php templ_set_breadcrumbs_navigation();?>  
			   </div>    
			   <div class="shadowbox"></div> 
<!-- Content  3 column - Sidebar Left align  -->
				<div class="content content_3col right">
                <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Above')){?>                        
                    <?php } else {?>  <?php }?>                    
					<p class="cat_desc"><?php echo $current_term->description;	?></p> 
					 
					<?php get_template_part('loop'); ?>            
					<?php get_template_part('pagination'); ?>           
					<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Below')){?>                      
					<?php } else {?>  <?php }?> 				
					<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Below')){?>                       
                    <?php } else {?>  <?php }?>     
				</div> <!-- /Content -->

				<div class="sidebar sidebar_3col_merge_l left">
				<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar 2col Merge')){?> <?php } else {?>  <?php }?>
				
				<div class="sidebar_3col_l left" >
					<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Left')){?> <?php } else {?>  <?php }?>
				</div>  <!-- sidebar #end -->
				
				
				<div class="sidebar_3col_r right" >
					<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Right')){?> <?php } else {?>  <?php }?>
				</div>  <!-- sidebar #end -->
                
                 </div> <!-- #sidebar_3col_merge_r -->
  
<?php get_footer(); ?>